package org.jetlinks.community.device.events;

import org.hswebframework.web.event.DefaultAsyncEvent;

public class RegionDeletedEvent extends DefaultAsyncEvent {

    private final String deviceId;
    private final String dimensionId;

    public String getDeviceId() {
        return this.deviceId;
    }

    public String getDimensionId() {
        return this.dimensionId;
    }

    public RegionDeletedEvent(String deviceId, String dimensionId) {
        this.deviceId = deviceId;
        this.dimensionId = dimensionId;
    }
}
